package com.novunda.platform.entities;

import java.util.List;

/**
 *  账号信息
 * Created by YJY on 2016/9/13.
 */
public class AccountInfo {

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 账户
     */
    private String account;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 机构
     */
    private String organization;

    /**
     * 角色
     */
    private List<Role> roles;

    /**
     * 账号状态
     */
    private String accountStatus;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus;
    }

    @Override
    public String toString() {
        return "AccountInfo{" +
                "realName='" + realName + '\'' +
                ", account='" + account + '\'' +
                ", email='" + email + '\'' +
                ", organization='" + organization + '\'' +
                ", roles=" + roles +
                ", accountStatus='" + accountStatus + '\'' +
                '}';
    }
}
